Rtcl\Controllers\Hooks\Comments B

Total Complexity 80
Dependencies 1
Dependents 3
Total lines 503
Lines of code 290
Logical lines of code 149
Comment lines 151
Methods 19
Properties 0

Methods 19

Method Rating Maintainability Complexity Lines of code
check_comment_is_allowed()
A
43 13 45
wp_count_comments()
A
44 9 46
add_order_note()
A
44 7 42
add_comment_rating()
S
58 8 13
check_comment_rating()
S
61 8 10
check_comment_title()
S
61 7 10
delete_order_note()
S
63 4 10
add_comment_title()
S
70 4 5
get_average_rating_for_listing()
S
53 2 25
get_rating_counts_for_listing()
S
53 2 24
comment_moderation_recipients()
S
67 3 7
comments_open()
S
64 3 9
get_review_count_for_listing()
S
58 1 17
exclude_order_comments_from_feed_where()
S
78 2 3
exclude_order_comments()
S
74 2 4
clear_transients()
S
67 2 8
delete_comments_count_cache()
S
80 1 3
add_avatar_for_review_comment_type()
S
79 1 3
init()
S
69 1 6